package top.aigoo.project01.service;

import top.aigoo.project01.entity.HeadLine;

import java.io.IOException;
import java.util.List;

/**
 * @Description: HeadLine
 * @Author: Mr.OYSHUO.欧阳大叔  mail:1642302522@qq.com
 * @Version 1.0.0
 * @Date: 2021/9/1 23:48
 */
public interface HeadLineService {
    //redis的key
    public static final String HLLISTKEY = "headlinelist";

    /**
     * 根据传入的条件返回指定的头条列表
     * @param headLineCondition
     * @return
     * @throws IOException
     */
    List<HeadLine> getHeadLineList(HeadLine headLineCondition) throws IOException;
}
